<template>
    <div class="car_body" >
        <div class="empty">
            <div class="left">
                <el-image style="height: 70px;" src="https://www.showjane.com/template/pc/rainbow/static/images/no-login-icon.png"  />
            </div>
            <div class="right">
                <div>
                    购物车空空的哦~，去看看心仪的商品吧~
                </div>
                <div>
                    <el-button color="#54BAC9" dark @click="router.push('/home')">去购物</el-button>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
</script>

<style scoped lang="scss">
.car_body{
    width: 1300px;
    margin: 0 auto;
    min-height: 400px;
    & .empty{
        margin-top: 100px;
        display: flex;
        justify-content: center;
        height: 70px;
        & .left{
            margin-right: 40px;
        }
        & .right{
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: end;
            & .el-button{
                color: #fff;
                padding: 4px 35px;

            }
           
        }
    }
}
</style>